.ant-btn {
  &.ant-btn-sm {
    font-size: 12px;
  }

  &.ant-btn-background-ghost {
    color: #999 !important;
    border-color: #999 !important;

    &:hover {
      color: @primary-color !important;
      border-color: @primary-color !important;
    }
  }

  &.ant-btn-cancel {
    color: #999;

    &:not(:hover) {
      border-color: #d9d9d9;
      box-shadow: 0 2px rgba(0, 0, 0, 0.016);
    }
    &:hover {
      border-color: #ff9457;
    }
  }

  &:not(:disabled).ant-btn-primary {
    &:focus {
      color: #fff;
      background-color: @primary-color;
    }

    &:hover {
      background-color: #ff9457;
      border-color: #ff9457;
      color: #fff;
    }
  }
}
